package xuanke;

public class Students extends SchoolPersonnel {

    public Students(int number, String name, String sex, Lessons[] curriculums) {
        super(number, name, sex, curriculums);
    }

    public void ChoiceLessons(Students student, int n, Lessons curriculums1) {//ѡ�η���
        student.lessons[n] = curriculums1;
        System.out.println(student.name + "选择" + student.lessons[n].lessons + "课程成功");
    }

    public void OutLessons(Students student, int n) {
        System.out.println(student.name + "退选" + student.lessons[n].lessons + "课程成功");
        student.lessons[n] = null;
    }
}